﻿using System.Collections.Generic;
using System.Runtime.Serialization;
using MyFloridaHouse.libSvDTO;

namespace MyFloridaHouse.libSTO
{
	//Todo: Remove obsolete code.
	/// <summary>
	/// [Obsolete] Data Dictionary Denominator STO
	/// </summary>
	/// <remarks>This object is never called from WCF.</remarks>
	[DataContract]
    public class DataDictionaryDenominatorSTO
    {
        List<DataDictionaryDenominatorDTO> _denominator;
        string _errorMessage;

		/// <summary>
		/// Initializes a new instance of the <see cref="DataDictionaryDenominatorSTO"/> class.
		/// </summary>
        public DataDictionaryDenominatorSTO()
        {
            _denominator = new List<DataDictionaryDenominatorDTO>();
            _errorMessage = "";
        }

		/// <summary>
		/// Gets or sets the denominator.
		/// </summary>
		/// <value>The denominator.</value>
        [DataMember]
        public List<DataDictionaryDenominatorDTO> denominator
        {
            get { return _denominator; }
            set { _denominator = value; }
        }

		/// <summary>
		/// Gets or sets the error message.
		/// </summary>
		/// <value>The error message.</value>
        [DataMember]
        public string errorMessage
        {
            get { return _errorMessage; }
            set { _errorMessage = value; }
        }
    }
}
